#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>

static int copybreak __read_mostly = 128;
module_param(copybreak, int, 0);
MODULE_PARM_DESC(copybreak, "Receive copy threshold (bytes)");

static int __init copybreak_init(void)
{
	pr_info("copybreak_example: module loaded, copybreak = %d\n",
		copybreak);
	return 0;
}

static void __exit copybreak_exit(void)
{
	pr_info("copybreak_example: module unloaded, final copybreak = %d\n",
		copybreak);
}

module_init(copybreak_init);
module_exit(copybreak_exit);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Your Name");
MODULE_DESCRIPTION("Demo of copybreak module parameter");